package demo1;

class Person {
    public int data1;
    private int data2;
    public static int data3;
    static class Student {
        public int data4;
        private int data5;
        public static int data6;
        public void fun () {
            Person person = new Person();
            System.out.println(person.data1);
            System.out.println(person.data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    }
    public void print() {
        Student student = new Student();
        System.out.println(data1);
        System.out.println(data2);
        System.out.println(data3);
        System.out.println(student.data4);
        System.out.println(student.data5);
        System.out.println(Student.data6);
    }
}

public class Test {
    public static void main(String[] args) {
        Person.Student student = new Person.Student();
    }
}
